﻿using System;
using System.Configuration;

namespace MyLib.Web {
	/// <summary>
	/// 
	/// </summary>
	public class FileHandlerConfigSection : ConfigurationSection {
		/// <summary>
		/// 
		/// </summary>
		public const bool DEFAULT_ANONYMOUS_USERS_DENIED = true;

		/// <summary>
		/// 
		/// </summary>
		[ConfigurationProperty("anonymousUsersDenied", DefaultValue = DEFAULT_ANONYMOUS_USERS_DENIED, IsRequired = false)]
		public bool AnonymousUsersDenied {
			get {
				return (bool)this["anonymousUsersDenied"];
			}
			set {
				this["anonymousUsersDenied"] = value;
			}
		}
	} // end of FileHandlerConfigSection.
}
